﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SiteAdmin/MasterPage.master" AutoEventWireup="true" CodeFile="CostReport.aspx.cs" Inherits="PMSWeb_CostReport" %>

<asp:Content ID="Content1" ContentPlaceHolderID="contentPlaceHolderID" Runat="Server">
<asp:Panel ID="pnlGrid" runat="server" CssClass="centerPanel" Width="95%" Height="500px" >
<div class="searchDiv" >
   <table cellspacing="0" class="searchTable">
    <tr>
        <td>
        收费单名称：
        </td>
        <td>
        <asp:TextBox ID="tbSubject" runat="server" CssClass="smallInput" MaxLength="64" ></asp:TextBox>
        </td>
        <td>
        收费日期：
        </td>
        <td>
        <asp:TextBox ID="tbBeginDate" runat="server" onfocus="calendar.ShowCaltable(this, event);" CssClass="smallInput" MaxLength="64" ></asp:TextBox> 到
        <asp:TextBox ID="tbEndDate" runat="server" onfocus="calendar.ShowCaltable(this, event);" CssClass="smallInput" MaxLength="64" ></asp:TextBox>
        </td>
        <td>
            &nbsp;&nbsp;<asp:Button ID="btnSearch" runat="server" OnClick="btnSearch_Click" Text=" 查询 " 
            ValidationGroup="submit" CssClass="searchButton" />
        </td>
    </tr>
    </table>
</div>
<div class="webPanelBorder" >
    <div class="webPanelCaption">收费单</div>
    <div class="webPanelContent"> 
        <ofcc:GridView ID="gridView" runat="server" AutoGenerateColumns="False" 
            OnRowDataBound="gridView_RowDataBound" 
            onsplitpageindexchange="gridView_SplitPageIndexChange">
            <Columns>
                <asp:TemplateField HeaderText="选择">
                    <ItemTemplate>
                        <input ID="BillID" checked="checked" name="BillID" type="radio" 
                            value='<%#DataBinder.Eval(Container.DataItem,"BillID")%>' />
                    </ItemTemplate>
                    <HeaderStyle Width="40px" />
                </asp:TemplateField>
                <asp:BoundField DataField="Subject" HeaderText="收费单名称" />
                <asp:BoundField DataField="BillDate" HeaderText="收费日期" />
                <asp:BoundField DataField="UserCount" HeaderText="收费客户数" />
                <asp:BoundField DataField="ShouFei" HeaderText="收费金额" />
                <asp:BoundField DataField="QianFei" HeaderText="欠费金额" />
            </Columns>
        </ofcc:GridView>
    </div>
</div>
<div class="webPanelButtonArea">
    <ofcc:LinkButton ID="btnExportSF" runat="server" OnClick="btnExportSF_Click" CssClass="linkButton" >导出收费单</ofcc:LinkButton>
    <ofcc:LinkButton ID="btnExportQF" runat="server" OnClick="btnExportQF_Click" CssClass="linkButton" >导出欠费单</ofcc:LinkButton>
</div>
</asp:Panel>

</asp:Content>

